from flask import Flask

import config

from .blueprints.blog import blog
from .blueprints.admin import admin


app = Flask(__name__)
app.config.from_object("config")

app.register_blueprint(blog, url_prefix="/")
app.register_blueprint(admin, url_prefix="/admin")
